package ${packageName}.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* ${remarks}
*
* @author ailanyin
* @version 1.0
* @since ${.now?string('yyyy-MM-dd hh:mm:ss')}
*/
@Data
public class ${modelName} implements Serializable {

    private static final long serialVersionUID = 1L;

<#if columns??>
<#list columns as column>
<#if column.type='VARCHAR'||column.type='TEXT'||column.type='CHAR'>
    @ApiModelProperty(value = "${column.remark}")
    @Excel(name = "${column.remark}", width = 20)
    private String ${column.propertyName?uncap_first};

</#if>
<#if column.type='INT'>
    @ApiModelProperty(value = "${column.remark}")
    @Excel(name = "${column.remark}", width = 20)
    private Integer ${column.propertyName?uncap_first};

</#if>
<#if column.type='DATETIME'>
    @ApiModelProperty(value = "${column.remark}")
    @Excel(name = "${column.remark}", format = "yyyy-MM-dd HH:mm:ss", width = 30)
    private Date ${column.propertyName?uncap_first};

</#if>
<#if column.type='BIGINT'>
    @ApiModelProperty(value = "${column.remark}")
    @Excel(name = "${column.remark}", width = 20)
    private Long ${column.propertyName?uncap_first};

</#if>
<#if column.type='DOUBLE'>
    @ApiModelProperty(value = "${column.remark}")
    @Excel(name = "${column.remark}", width = 20)
    private Double ${column.propertyName?uncap_first};

</#if>
<#if column.type='BIT'>
    @ApiModelProperty(value = "${column.remark}")
    @Excel(name = "${column.remark}", width = 20)
    private Boolean ${column.propertyName?uncap_first};

</#if>
</#list>
</#if>
}
